package de.koller.reason;

import de.koller.oceanFramework.tree.Child;
import de.koller.oceanFramework.tree.Sea3X;
import de.koller.reason.engine.EngineRoot;
import de.koller.reason.gameGui.GameGUI;
import de.koller.reason.gui.GUIRoot;

public class RRoot extends Sea3X {
	
	@Child public final GUIRoot guiRoot = new GUIRoot();
	@Child public final EngineRoot eningeRoot = new EngineRoot();
	@Child public final GameGUI gameGUI = new GameGUI();
	
	@Override
	protected void init() {
		super.init();
		
		this.setIgnoreChildRender( true );
	}

	@Override
	protected void render( int elapsedTime ) {
		super.render( elapsedTime );
		
		guiRoot.renderRoot.renderSzene();
	}
	
}
